"""
定义全局配置
"""
import systems.views.menu
from django.conf import settings


def get_global_settings(request):
    """
    获取全局配置
    :param request:
    :return: 用户所属菜单列表
    """
    return {"SYS_TITLE": settings.SYS_TITLE,
            "USER_MENU": systems.views.menu.get_user_menu(request)}
